package com.cqq.common.core.protocol;

public abstract class ResponseBean {

	private boolean isSuccess;
	
	private Object data;

	private boolean hasException;
	
	private String exception;
	
	private Throwable exceptionObject;
	
	public boolean isSuccess() {
		return isSuccess;
	}

	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public boolean isHasException() {
		return hasException;
	}

	public void setHasException(boolean hasException) {
		this.hasException = hasException;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public Throwable getExceptionObject() {
		return exceptionObject;
	}

	public void setExceptionObject(Throwable exceptionObject) {
		this.exceptionObject = exceptionObject;
	}

}
